home *** CD-ROM | disk | FTP | other *** search
- Path: news.eunet.ch!usenet
- From: rop@dial.eunet.ch
- Newsgroups: comp.lang.c++,rb.technical
- Subject: Re: Can copy constructor and operator= share code?
- Date: 11 Mar 1996 20:04:02 GMT
- Organization: EUnet AG
- Message-ID: <4i20vi$t6h@news.eunet.ch>
- References: <4h2kcn$40d@rap.SanDiegoCA.ATTGIS.COM> <VA.00000053.00cdab05@fred>
- Reply-To: rop@dial.eunet.ch
- NNTP-Posting-Host: rop.dial.eunet.ch
- X-Newsreader: IBM NewsReader/2 v1.2.5
-
- What about :
-
- T::T(const T&t)
- {
- *this =t;
- }
-
- That's what I am always using.
-
- ROTZETTER Patrick (rop@dial.eunet.ch)
- Deutsche Bank (Suisse) S.A.
- Voice:+41 22 7390588
- Fax:+41 22 7390386
-
-